package com.pbc.gmp.model.basemodel;

import java.util.List;

public class OrgList {
    /**
     * 组织机构的id
     */
    private Integer id;

    /**
     * 组织机构的名称
     */
    private String name;

    /**
     *
     */
    private String ptype;

    /**
     * 组织机构所属类型的id，此处不要使用ManyToOne
     */
    private Integer typeid;

    /**
     * 组织机构所属类型的名称，冗余
     */
    private String typename;

    /**
     * 组织机构的排序号
     */
    private Integer ordernum;

    /**
     * 组织机构的父亲组织
     */
    private Integer pid;

    /**
     * 管理类型
     */
    private Integer managertype;

    /**
     * 组织机构的地址
     */
    private String address;

    /**
     * 组织机构的电话
     */
    private String phoneno;

    /**
     * 扩展属性1，用于在针对某些特殊的组织存储相应的信息
     */
    private String att1;

    /**
     * 扩展属性2，用于在针对某些特殊的组织存储相应的信息
     */
    private String att2;

    /**
     * 扩展属性3，用于在针对某些特殊的组织存储相应的信息
     */
    private String att3;
    private  String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    private List<OrgList> childList;

    public List<OrgList> getChildList() {
        return childList;
    }

    public void setChildList(List<OrgList> childList) {
        this.childList = childList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPtype() {
        return ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getManagertype() {
        return managertype;
    }

    public void setManagertype(Integer managertype) {
        this.managertype = managertype;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoneno() {
        return phoneno;
    }

    public void setPhoneno(String phoneno) {
        this.phoneno = phoneno;
    }

    public String getAtt1() {
        return att1;
    }

    public void setAtt1(String att1) {
        this.att1 = att1;
    }

    public String getAtt2() {
        return att2;
    }

    public void setAtt2(String att2) {
        this.att2 = att2;
    }

    public String getAtt3() {
        return att3;
    }

    public void setAtt3(String att3) {
        this.att3 = att3;
    }
}